import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { WallController } from './wall.controller'
import { WallService } from './wall.service'
import { WorkEntity } from './entities/wall.entity'
import { WorkTagEntity } from './entities/work-tag.entity'
import { WorkTagRelationEntity } from './entities/work-tag-relation.entity'
import { WorkCommentEntity } from './entities/work-comment.entity'
import { AuthModule } from '~/modules/admin/auth/auth.module'

@Module({
  imports: [
    TypeOrmModule.forFeature([
      WorkEntity,
      WorkTagEntity,
      WorkTagRelationEntity,
      WorkCommentEntity,
    ]),
    AuthModule,
  ],
  controllers: [WallController],
  providers: [WallService],
})
export class WallModule {}
